package com.wei.czz.common.enums.rabbitMQ;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * Created by IntelliJ IDEA.
 *
 * @author wei
 * date: 2022-03-06 11:45:37
 * className: BlogMessageDict 博客消息字典枚举类
 * version: 1.0
 * description:
 */
@Getter
@AllArgsConstructor
public enum BlogMessageEnum {

    /*
        属性值字典值
     */
    ADD(0, "添加"), REMOVE(1, "删除"),
    DELETE(2, "删除2（删除缓存和数据库信息，这个状态只对博客关联博客标签有用）");

    /**
     * 字典值
     */
    private final Integer value;

    /**
     * 字典值的描述信息
     */
    private final String name;

}
